import $http from "@/untils/request.js"

//请求商品列表的数据
const goodsListData = (queryObj) =>$http.get('/api/public/v1/goods/search',queryObj);

//请求商品详情的数据
const goodsDetailData = (goods_id) =>$http.get('/api/public/v1/goods/detail',{goods_id});

export {
	goodsListData,
	goodsDetailData
}
